package com.lizhi.yun.db.rsz.entity;/**
 * @program: hbsf
 * @name RszTrajectoryCusEntity
 * @description: 自定义轨迹表
 * @author: lizhi
 * @create: 2021-08-12 16:43
 */

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 *@program: hbsf
 *@name RszTrajectoryCusEntity
 *@description: 自定义轨迹表
 *@author: lizhi
 *@create: 2021-08-12 16:43
 */
@Data
@ToString
@Table(name = "rsz_trajectory_self")
@Entity
@Description("自定义轨迹表")
public class RszTrajectorySelfEntity extends AbstractVrEntity {

    @Id
    @Column(columnDefinition="varchar(30) COMMENT 'lid'")
    @Description("lid")
    public String lid;

    @Column(columnDefinition="varchar(30) COMMENT '自定义轨迹id'")
    public String selfId;

    @Column(columnDefinition="longblob COMMENT '自定义轨迹图片数据base64的url'")
    public String selfImgUrl;

    @Column(columnDefinition="varchar(30) COMMENT '患者id'")
    public String ptId;

    @Column(columnDefinition="int(11) COMMENT '自定义轨迹编号'")
    public Integer selfNum;

    @Column(columnDefinition="varchar(2) COMMENT '自定义轨迹编号00-初始，01-可以使用'")
    public String selfStatus;

    @Transient
    public RszPatientEntity rszPatientEntity;
}
